from django.conf.urls import patterns, include, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

from django.contrib import admin
admin.autodiscover()


urlpatterns = patterns('',

    url(r'^admin/', include(admin.site.urls)),
    ('^pages/', include('django.contrib.flatpages.urls')),
)

urlpatterns += patterns('',
    url(r'^admintools/', include('admin_tools.urls')), #AdminTools
)

urlpatterns += staticfiles_urlpatterns()